from launch import LaunchDescription
from launch_ros.actions import Node
from launch.actions import DeclareLaunchArgument
from launch.substitutions import LaunchConfiguration

def generate_launch_description():
    return LaunchDescription([
        DeclareLaunchArgument('servo_params', default_value='zc44/src/force_control/config/servo_parameters.yaml'),
        Node(
            package='force_control',
            executable='servo_node',
            name='servo_node',
            output='screen',
            parameters=[LaunchConfiguration('servo_params')]
        ),
    ])